projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
291e4e1
)
viewport: Remove wrong save/restore
author
Benjamin Otte
<otte@redhat.com>
Mon, 13 Oct 2014 02:00:44 +0000
(
04:00
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 13 Oct 2014 02:39:57 +0000
(
04:39
+0200)
gtk/gtkviewport.c
patch
|
blob
|
history
diff --git
a/gtk/gtkviewport.c
b/gtk/gtkviewport.c
index f17eea9c71663ec28a4785fffa18319acf63a9d2..ef1933f93fa90a34ac65f8d2403c01fdf9bff11d 100644
(file)
--- a/
gtk/gtkviewport.c
+++ b/
gtk/gtkviewport.c
@@
-363,14
+363,10
@@
viewport_get_view_allocation (GtkViewport *viewport,
context = gtk_widget_get_style_context (widget);
state = gtk_widget_get_state_flags (widget);
- gtk_style_context_save (context);
- gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME);
gtk_style_context_get_padding (context, state, &padding);
gtk_style_context_get_border (context, state, &border);
- gtk_style_context_restore (context);
-
if (priv->shadow_type != GTK_SHADOW_NONE)
{
view_allocation->x = border.left;